package com.cow.framework.core.log;

/**
 *	不需记录日志的URL
 *
 *  @author yangsj
 */
public class NoLogUtil {
	public static String[] urlArray;
	static{
		urlArray = new String[]{
				"/baseinfo/org/getMyCity",
				"/config/channel/getMyChannel",
				"/config/dict/getDicts",
				"/config/tree/getChildNode",
				"/config/tree/getAllChildNode",
				"/baseinfo/org/getMyOrgTree",
				"/baseinfo/org/getMyStore",
				"/searchFilter/getMySearchFilter",
				"/comm/search/getSearchUtil",
				"/business/activity/getLatestActivity"
				
		};		
	}
	/**判断url是否不需记录日志*/
	public static boolean isNoLog(String url){
		for(String u:urlArray){
			if(url.startsWith(u)){
				return true;
			}
		}
		
		return false;
	}
}
